package lab02.Test07;

public class Test {
    public static void main(String[] args) {
        Person luo=new Person();
        luo.name="luole";
        luo.age=20;
        luo.idnumber="51372219970826108X";

        System.out.println(luo.getString());

        Student he=new Student();
        he.name="hemingqing";
        he.age=19;
        he.idnumber="513722199608263272";
        he.sno="123456789";
        he.university="changjiang";
        System.out.println(he.getString());
    }
}
